package com.digital.smartgrow.entity.datacenter;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 字典数据表
 * </p>
 *
 * @author sunyuechao
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_dict_data")
@ApiModel(value="SysDictData对象", description="字典数据表")
public class SysDictData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字典编码")
    @TableId(value = "dict_code", type = IdType.AUTO)
    private Long dict_code;

    @ApiModelProperty(value = "字典排序")
    @TableField("dict_sort")
    private Integer dict_sort;

    @ApiModelProperty(value = "字典标签")
    @TableField("dict_label")
    private String dict_label;

    @ApiModelProperty(value = "字典键值")
    @TableField("dict_value")
    private String dict_value;

    @ApiModelProperty(value = "字典类型")
    @TableField("dict_type")
    private String dict_type;

    @ApiModelProperty(value = "样式属性（其他样式扩展）")
    @TableField("css_class")
    private String css_class;

    @ApiModelProperty(value = "表格回显样式")
    @TableField("list_class")
    private String list_class;

    @ApiModelProperty(value = "是否默认（Y是 N否）")
    @TableField("is_default")
    private String _default;

    @ApiModelProperty(value = "状态（0正常 1停用）")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String create_by;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime create_time;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String update_by;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime update_time;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;


}
